﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using White.Core.InputDevices;
using White.WebBrowser.Silverlight;

namespace SilverlightLesson1
{
    public class Util
    {
        public const int WaitTimeout = 30000;

        public static void TabSpace(SilverlightDocument document)
        {
            System.Threading.Thread.Sleep(500);
            AttachedKeyboard keyboard = document.Keyboard;
            keyboard.PressSpecialKey(White.Core.WindowsAPI.KeyboardInput.SpecialKeys.TAB);
            System.Threading.Thread.Sleep(1000);
        }
    }
}
